package com.turnengine.client.local.action;

import java.util.List;

import com.turnengine.client.local.action.bean.IAction;
import com.turnengine.client.local.action.bean.IActionCondition;
import com.turnengine.client.local.action.bean.IActionTarget;

public interface IActionDefinition {

	IAction getAction();

	void setSource(IActionTarget source);

	void setTarget(IActionTarget target);

	IActionTarget getSource();

	IActionTarget getTarget();

	boolean hasTarget();

	List<IActionCondition> getConditions();

	List<IActionCondition> getSourceConditions();

	List<IActionCondition> getTargetConditions();

	void addCondition(IActionCondition condition);

}
